/**
 *
 */
package com.zhuoyue.elmt.entity;

import org.hibernate.validator.constraints.Length;

import com.eit.eitsite.common.persistence.DataEntity;

/**
 * 资格单位信息Entity
 *
 * @author chenhao
 * @version 2016-09-08
 */
public class GgZgdw extends DataEntity<GgZgdw> {

    private static final long serialVersionUID = 1L;
    private String dwmc;        // 单位名称
    private String zzjqdm;        // 组织机构代码
    private String dwdz;        // 单位地址
    private String cz;        // 传真
    private String lxr;        // 联系人
    private String lxrdh;        // 联系电话
    private String dlmm;        // 登录密码
    private String wbdwdh;        // 维保单位电话（24小时联系电话）
    private String dwxz;        // 单位性质
    private String status;        // 状态：0，无效；1，有效
    private String remark; // 备注
    private String mainMode; // 维保记录显示模式 1简洁 2详细
    private String signMode; // 签到模式 1扫码签到 2选择设备签到 3两种支持
    private String signLeaveMode; // 是否扫描签离 1是 0否
    private String uploadDataMode; // 是否上传维保数据到监管机构 1是 0否

    public GgZgdw() {
        super();
    }

    public GgZgdw(String id) {
        super(id);
    }

    @Length(min = 0, max = 100, message = "单位名称长度必须介于 0 和 100 之间")
    public String getDwmc() {
        return dwmc;
    }

    public void setDwmc(String dwmc) {
        this.dwmc = dwmc;
    }

    @Length(min = 0, max = 50, message = "组织机构代码长度必须介于 0 和 50 之间")
    public String getZzjqdm() {
        return zzjqdm;
    }

    public void setZzjqdm(String zzjqdm) {
        this.zzjqdm = zzjqdm;
    }

    @Length(min = 0, max = 200, message = "单位地址长度必须介于 0 和 200 之间")
    public String getDwdz() {
        return dwdz;
    }

    public void setDwdz(String dwdz) {
        this.dwdz = dwdz;
    }

    @Length(min = 0, max = 60, message = "传真长度必须介于 0 和 60 之间")
    public String getCz() {
        return cz;
    }

    public void setCz(String cz) {
        this.cz = cz;
    }

    @Length(min = 0, max = 30, message = "联系人长度必须介于 0 和 30 之间")
    public String getLxr() {
        return lxr;
    }

    public void setLxr(String lxr) {
        this.lxr = lxr;
    }

    @Length(min = 0, max = 60, message = "联系电话长度必须介于 0 和 60 之间")
    public String getLxrdh() {
        return lxrdh;
    }

    public void setLxrdh(String lxrdh) {
        this.lxrdh = lxrdh;
    }

    @Length(min = 0, max = 100, message = "登录密码长度必须介于 0 和 100 之间")
    public String getDlmm() {
        return dlmm;
    }

    public void setDlmm(String dlmm) {
        this.dlmm = dlmm;
    }

    @Length(min = 0, max = 100, message = "维保单位电话（24小时联系电话）长度必须介于 0 和 100 之间")
    public String getWbdwdh() {
        return wbdwdh;
    }

    public void setWbdwdh(String wbdwdh) {
        this.wbdwdh = wbdwdh;
    }

    @Length(min = 0, max = 20, message = "单位性质长度必须介于 0 和 20 之间")
    public String getDwxz() {
        return dwxz;
    }

    public void setDwxz(String dwxz) {
        this.dwxz = dwxz;
    }

    @Length(min = 0, max = 20, message = "状态：0，无效；1，有效长度必须介于 0 和 20 之间")
    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getMainMode() {
        return mainMode;
    }

    public void setMainMode(String mainMode) {
        this.mainMode = mainMode;
    }

    public String getSignMode() {
        return signMode;
    }

    public void setSignMode(String signMode) {
        this.signMode = signMode;
    }

    public String getSignLeaveMode() {
        return signLeaveMode;
    }

    public void setSignLeaveMode(String signLeaveMode) {
        this.signLeaveMode = signLeaveMode;
    }

    public String getUploadDataMode() {
        return uploadDataMode;
    }

    public void setUploadDataMode(String uploadDataMode) {
        this.uploadDataMode = uploadDataMode;
    }
}